﻿<%@  Title="Home" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ImperialWebSite._Default" %>

<!DOCTYPE html>
<html lang="en">
<head runat="server">
    <meta charset="utf-8" />
    <title><%: Page.Title %> - by Da'Empire</title>
    <%: Scripts.Render("~/bundles/modernizr") %>
    <webopt:BundleReference runat="server" Path="~/Content/css" />
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    <script type="text/javascript">

        window.onload = function () {
            if (document.cookie.length > 0)
                blockUI();
        };

        function blockUI() {
            document.getElementById("blocker").style.display = "block";
            document.getElementsByTagName("html")[0].style.pointerEvents = "none";
            document.onkeydown = function (e) {
                return false;
            }
        }
        function setCookie() {
            var now = new Date();
            now.setHours(now.getHours() + 1);
            document.cookie = "name=BlockedUI";
            document.cookie = "expires=" + now.toUTCString() + ";"
            document.cookie = "path=/";
        }
    </script>
</head>
<body>
    <form id="Form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Scripts>
                <%--Framework Scripts--%>
                <asp:ScriptReference Name="MsAjaxBundle" />
                <%--<asp:ScriptReference Name="jquery" />--%>
                <%--<asp:ScriptReference Name="jquery.ui.combined" />--%>
                <asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
                <asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
                <asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
                <asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
                <asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
                <asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
                <asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
                <asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
                <asp:ScriptReference Name="WebFormsBundle" />
                <%--Site Scripts--%>
            </Scripts>
        </asp:ScriptManager>
        <header>
            <div class="content-wrapper">
                <div class="content-wrapper-jc">
                    <div class="float-left">
                        <p class="site-title">
                            <a id="A1" runat="server" href="~/">
                                <img runat="server" src="~/Images/logo.png" border="0" /></a>
                        </p>
                    </div>
                    <div class="float-right">
                        <section id="login">
                            <asp:LoginView ID="LoginView" runat="server" ViewStateMode="Disabled">
                                <AnonymousTemplate>
                                    <ul>
                                        <li><a id="registerLink" runat="server" href="~/Views/Account/SignUp.aspx">Sign up</a></li>
                                        <li><a id="loginLink" runat="server" href="~/Views/Account/Login.aspx">Log in</a></li>
                                    </ul>
                                </AnonymousTemplate>
                                <LoggedInTemplate>
                                    <p>
                                        Hello, <a id="A2" runat="server" class="username" href="~/Views/Account/Manage.aspx" title="Manage your account">
                                            <asp:LoginName ID="LoginName" runat="server" CssClass="username" />
                                        </a>!
                                <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="Redirect" LogoutText="Log off" LogoutPageUrl="~/" />
                                    </p>
                                </LoggedInTemplate>
                            </asp:LoginView>
                        </section>
                        <nav>
                            <asp:LoginView ID="LoginView1" runat="server" ViewStateMode="Disabled">
                                <AnonymousTemplate>
                                    <ul id="menu">
                                        <li><a id="A3" runat="server" href="~/">Home</a></li>
                                    </ul>
                                </AnonymousTemplate>
                                <LoggedInTemplate>
                                    <ul id="menu">
                                        <li><a id="A4" runat="server" href="~/">Home</a></li>
                                        <li><a id="A5">Citizens</a>
                                            <ul>
                                                <li><a id="A6" runat="server" href="~/Views/Main/Citizen/CitizenRegistry.aspx">Register</a></li>
                                                <li><a id="A7" runat="server" href="~/Views/Main/Citizen/QueryCitizens.aspx">General Info</a></li>
                                            </ul>
                                        </li>
                                        <li><a id="A8">Roles</a>
                                            <ul>
                                                <li><a id="A9" runat="server" href="~/Views/Main/Role/RoleRegistry.aspx">Register</a></li>
                                                <li><a id="A10" runat="server" href="~/Views/Main/Role/QueryRoles.aspx">General Info</a></li>
                                            </ul>
                                        </li>
                                        <li><a id="A11">Species</a>
                                            <ul>
                                                <li><a id="A12" runat="server" href="~/Views/Main/Specie/SpecieRegistry.aspx">Register</a></li>
                                                <li><a id="A13" runat="server" href="~/Views/Main/Specie/QuerySpecies.aspx">General Info</a></li>
                                            </ul>
                                        </li>
                                        <li><a id="A14">Statuses</a>
                                            <ul>
                                                <li><a id="A15" runat="server" href="~/Views/Main/Status/StatusRegistry.aspx">Register</a></li>
                                                <li><a id="A16" runat="server" href="~/Views/Main/Status/QueryStatuses.aspx">General Info</a></li>
                                            </ul>
                                        </li>
                                    </ul>
                                </LoggedInTemplate>
                            </asp:LoginView>
                        </nav>
                    </div>
                </div>
            </div>
        </header>
        <div id="body">
            <section class="content-wrapper main-content clear-fix">
                <div class="content-wrapper-jc">
                    <h3>How to use:</h3>
                    <ol class="round">
                        <li class="one">
                            <h5>Conquer the nearest town.</h5>
                            Do it quickly as possible.
                        </li>
                        <li class="two">
                            <h5>If you are already registered, <a runat="server" href="~/Views/Account/Login.aspx">log in</a> into the system (if you don't... well just do it).</h5>
                            Here you go -> <a runat="server" href="~/Views/Account/SignUp.aspx">Sign up here</a>
                        </li>
                        <li class="three">
                            <h5>Find the people or whatever and put them into the system.</h5>
                            Don't screw it by typing "Skywalker".
                        </li>
                    </ol>
                </div>
            </section>
        </div>
        <footer>
            <div class="content-wrapper">
                <div class="content-wrapper-jc">
                    <div class="float-left">
                        <p><img id="footerLogo" runat="server" src="~/Images/footerLogo.png" border="0" style="margin: 10px" /></p>
                        <p>&copy; <%: DateTime.Now.ToString("dd-MM-yyyy") %> - Juan Carlos Coello P&eacute;rez</p>
                    </div>
                </div>
            </div>
        </footer>
    </form>
</body>
</html>




